package com.gxg.kotlin.mydemo10.bean

/**
 * 作者：Administrator on 2018/2/9 17:08
 * 邮箱：android_gaoxuge@163.com
 */
class HomeHeadBean {

    /**
     * count : 3
     * start : 1
     * total : 39
     * subjects : [{"rating":{"max":10,"average":7.9,"stars":"40","min":0},"genres":["剧情","音乐"],"title":"神秘巨星","casts":[{"alt":"https://movie.douban.com/celebrity/1373292/","avatars":{"small":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg","large":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg","medium":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg"},"name":"塞伊拉·沃西","id":"1373292"},{"alt":"https://movie.douban.com/celebrity/1383897/","avatars":{"small":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1510229457.27.jpg","large":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1510229457.27.jpg","medium":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1510229457.27.jpg"},"name":"梅·维贾","id":"1383897"},{"alt":"https://movie.douban.com/celebrity/1031931/","avatars":{"small":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p13628.jpg","large":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p13628.jpg","medium":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p13628.jpg"},"name":"阿米尔·汗","id":"1031931"}],"collect_count":128892,"original_title":"Secret Superstar","subtype":"movie","directors":[{"alt":"https://movie.douban.com/celebrity/1379532/","avatars":{"small":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg","large":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg","medium":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg"},"name":"阿德瓦·香登","id":"1379532"}],"year":"2017","images":{"small":"https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2508925590.jpg","large":"https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2508925590.jpg","medium":"https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2508925590.jpg"},"alt":"https://movie.douban.com/subject/26942674/","id":"26942674"},{"rating":{"max":10,"average":6.9,"stars":"35","min":0},"genres":["爱情","冒险"],"title":"南极之恋","casts":[{"alt":"https://movie.douban.com/celebrity/1274608/","avatars":{"small":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p30529.jpg","large":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p30529.jpg","medium":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p30529.jpg"},"name":"赵又廷","id":"1274608"},{"alt":"https://movie.douban.com/celebrity/1312862/","avatars":{"small":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1429449422.48.jpg","large":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1429449422.48.jpg","medium":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1429449422.48.jpg"},"name":"杨子姗","id":"1312862"}],"collect_count":18847,"original_title":"南极之恋","subtype":"movie","directors":[{"alt":"https://movie.douban.com/celebrity/1375623/","avatars":{"small":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1515397828.63.jpg","large":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1515397828.63.jpg","medium":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1515397828.63.jpg"},"name":"吴有音","id":"1375623"}],"year":"2018","images":{"small":"https://img1.doubanio.com/view/photo/s_ratio_poster/public/p2511935678.jpg","large":"https://img1.doubanio.com/view/photo/s_ratio_poster/public/p2511935678.jpg","medium":"https://img1.doubanio.com/view/photo/s_ratio_poster/public/p2511935678.jpg"},"alt":"https://movie.douban.com/subject/26628329/","id":"26628329"},{"rating":{"max":10,"average":7.6,"stars":"40","min":0},"genres":["剧情","爱情","战争"],"title":"无问西东","casts":[{"alt":"https://movie.douban.com/celebrity/1041014/","avatars":{"small":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1359895311.0.jpg","large":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1359895311.0.jpg","medium":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1359895311.0.jpg"},"name":"章子怡","id":"1041014"},{"alt":"https://movie.douban.com/celebrity/1041404/","avatars":{"small":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1472787652.32.jpg","large":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1472787652.32.jpg","medium":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1472787652.32.jpg"},"name":"黄晓明","id":"1041404"},{"alt":"https://movie.douban.com/celebrity/1077991/","avatars":{"small":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1453574419.48.jpg","large":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1453574419.48.jpg","medium":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1453574419.48.jpg"},"name":"张震","id":"1077991"}],"collect_count":208472,"original_title":"无问西东","subtype":"movie","directors":[{"alt":"https://movie.douban.com/celebrity/1313682/","avatars":{"small":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p19485.jpg","large":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p19485.jpg","medium":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p19485.jpg"},"name":"李芳芳","id":"1313682"}],"year":"2018","images":{"small":"https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2507572275.jpg","large":"https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2507572275.jpg","medium":"https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2507572275.jpg"},"alt":"https://movie.douban.com/subject/6874741/","id":"6874741"}]
     * title : 正在上映的电影-北京
     */

    var count: Int = 0
    var start: Int = 0
    var total: Int = 0
    var title: String? = null
    var subjects: List<SubjectsBean>? = null

    class SubjectsBean {
        /**
         * rating : {"max":10,"average":7.9,"stars":"40","min":0}
         * genres : ["剧情","音乐"]
         * title : 神秘巨星
         * casts : [{"alt":"https://movie.douban.com/celebrity/1373292/","avatars":{"small":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg","large":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg","medium":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg"},"name":"塞伊拉·沃西","id":"1373292"},{"alt":"https://movie.douban.com/celebrity/1383897/","avatars":{"small":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1510229457.27.jpg","large":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1510229457.27.jpg","medium":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1510229457.27.jpg"},"name":"梅·维贾","id":"1383897"},{"alt":"https://movie.douban.com/celebrity/1031931/","avatars":{"small":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p13628.jpg","large":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p13628.jpg","medium":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p13628.jpg"},"name":"阿米尔·汗","id":"1031931"}]
         * collect_count : 128892
         * original_title : Secret Superstar
         * subtype : movie
         * directors : [{"alt":"https://movie.douban.com/celebrity/1379532/","avatars":{"small":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg","large":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg","medium":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg"},"name":"阿德瓦·香登","id":"1379532"}]
         * year : 2017
         * images : {"small":"https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2508925590.jpg","large":"https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2508925590.jpg","medium":"https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2508925590.jpg"}
         * alt : https://movie.douban.com/subject/26942674/
         * id : 26942674
         */

        var rating: RatingBean? = null
        var title: String? = null
        var collect_count: Int = 0
        var original_title: String? = null
        var subtype: String? = null
        var year: String? = null
        var images: ImagesBean? = null
        var alt: String? = null
        var id: String? = null
        var genres: List<String>? = null
        var casts: List<CastsBean>? = null
        var directors: List<DirectorsBean>? = null

        class RatingBean {
            /**
             * max : 10
             * average : 7.9
             * stars : 40
             * min : 0
             */

            var max: Int = 0
            var average: Double = 0.toDouble()
            var stars: String? = null
            var min: Int = 0
        }

        class ImagesBean {
            /**
             * small : https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2508925590.jpg
             * large : https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2508925590.jpg
             * medium : https://img3.doubanio.com/view/photo/s_ratio_poster/public/p2508925590.jpg
             */

            var small: String? = null
            var large: String? = null
            var medium: String? = null
        }

        class CastsBean {
            /**
             * alt : https://movie.douban.com/celebrity/1373292/
             * avatars : {"small":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg","large":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg","medium":"https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg"}
             * name : 塞伊拉·沃西
             * id : 1373292
             */

            var alt: String? = null
            var avatars: AvatarsBean? = null
            var name: String? = null
            var id: String? = null

            class AvatarsBean {
                /**
                 * small : https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg
                 * large : https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg
                 * medium : https://img3.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1494080264.12.jpg
                 */

                var small: String? = null
                var large: String? = null
                var medium: String? = null
            }
        }

        class DirectorsBean {
            /**
             * alt : https://movie.douban.com/celebrity/1379532/
             * avatars : {"small":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg","large":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg","medium":"https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg"}
             * name : 阿德瓦·香登
             * id : 1379532
             */

            var alt: String? = null
            var avatars: AvatarsBeanX? = null
            var name: String? = null
            var id: String? = null

            class AvatarsBeanX {
                /**
                 * small : https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg
                 * large : https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg
                 * medium : https://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1509423054.09.jpg
                 */

                var small: String? = null
                var large: String? = null
                var medium: String? = null
            }
        }
    }
}
